<template>
  <router-view></router-view>
</template>

<script setup>
import { onMounted } from "vue";
import { RouterView } from "vue-router";
import { useAppStore } from "@/stores/app";

const appStore = useAppStore();

onMounted(() => {
  // appStore.initDarkMode(); // 确保暗黑模式被初始化
});
</script>

<style lang="less" scoped>
</style>